***CRIME AND POLICE REBALANCE & ENHANCEMENT**
Version: v1.3.5

---DESCRIPTION--- 
I'm sure you all know the term Robocop.Well, this is a mod that attempts to solve that a little. While also making some tweaks to the witness, crime and dispatching systems. 

---FEATURES--- 

-Crimes that don't involve something blowing up now require people to phone the cops on you. You can commit as much crime as you want, if you can stop people dialing 911 in time and if no police see you of course. 
-Stealth killing now works, silencers are actually silenced. 
-Tweaks the AI of cops, army, swat, gangmembers and the army to be less accurate and less skillful. They don't feel like RoboCop anymore. Gunfights are much more enjoyable and satisfying. While not being too easy. 
-One star means one police patrol. It works that way in real life, they don't go all in at the drop of a phone call. 
-Female police, varied police vehicles and roadblocks.
-Realistic and enhanced cop responses at each level with the progression [POLICE - POLICE - SWAT - FIB - ARMY] 
-Increases time at wanted levels. Takes more cop killings to go up a star. 
-Reduces the time it takes to lose cops when hiding 
-Stops animals reporting crime 
-Stealth melee killing should work better 
-Better police weapon loadouts thanks to Yard1 
-Realistic police patrols spread throughout Los Santos according to neighbourhood, police station & gang activity
-No Army version with FIB at 5 stars 

---REQUIREMENTS--- 
Scripthook 
OpenIV.asi 
Latest OpenIV program 

---INSTALLATION--- 
1. Navigate to "update\update.rpf" Make a backup. 
2. Use OpenIV and navigate to "update\update.rpf\common\data\ai" 
3. Enable edit mode and replace combatbehaviour.meta by right clicking. "Replace" or you can just drag and drop. 
4. Add witnessinformation.meta, loadouts.meta, crimes.meta and crimeinformation.meta to "update.rpf\common\data\ai" 
5. Use OpenIV and navigate to "update\update.rpf\common\data\" 
6. Replace dispatch.meta by right clicking. "Replace" or just drag and drop with edit mode enabled. 
7. Navigate to "update.rpf\common\date\levels\gta5\" and replace popcycle.dat if you want realistic cop spawns in LS.
8. DO NOT REBUILD UPDATE.RPF, IT'S NOT NEEDED AND WILL CAUSE ISSUES. JUST DRAG AND DROP AND YOU'RE DONE. 
9. If you get "Corrupt Game Data" error on startup. Ensure you have OpenIV.asi installed, it will prompt you to install it when you enable edit mode. If you have it and still have the error, restore your backup of update.rpf and try again. 


---UNINSTALL----
1. Use OpenIV and navigate to "update\update.rpf\common\data\ai" 
2. Delete crimes.meta, crimeinformation.meta and witnessinformation.meta Yes this is fine, they are not present by default. 
3. Restore backups of dispatch.meta, loadouts.meta, popcycle.dat and combatbehavior.meta in their appropriate directories.

---ABOUT STORY MODE--- 
This mod will not break anything in the story or anywhere in the game. It will however, change the difficulty of any missions with police, swat, private mercs, gang members or army. 

---CONFLICTS--- 
-Anything that edits the same files (Duh) like the following 
-Better Police Spawning, Army at 5 stars etc. No point using these with this. 
-Anything that edits the AI skills, loadouts, crime and witness information. 
-Let me know of any mod that isn't a dispatch mod that you want a patch for. 
-Cops on the beat mod. I have my own popcycle.dat included. Mine has less police, up to you. 

---CHANGELOG--- 
v1.00 

Release 

v1.1 

Slightly increased cop accuracy and fight proficiency. Hopefully they can hit you while you're in vehicles now. 
Increased swat accuracy slightly 
Fixed security guards not aiming properly 

v1.2 

-Increased how much crime it takes to gain a star. 
-Reduced the time it takes to lose cops when hiding. Depending on current wanted level, goes from 30 seconds for 1 star - 72 seconds for 5. 
-Added Realistic crime witness distance. Peds can hear explosions further away while gunshots are a little closer and car jackings are even closer. 
-Stops animals reporting crime, now you can stealth kill in the desert without worry. 
-Balances amount of cops per star. 
-Integrated Better Wanted Level System Police Spawning by Yard1 
-Integrated Army Spawning by PlasticTangerine 
-Packaged Tanks spawning at 5 stars as per PlasticTangerines permissions. 
-Tweaks to all enforcement AI strength. 
-Added Annihilator to 4 star wanted level. 

v1.3 
-Most crimes will now require pedestrians to have to call the police. Explosions, fire and moltovs will alert cops quickly. 
-Tweaked cop accuracy slightly and increased their spawns at higher stars. 
-Tweaked gang members accuracy and skill. They are now slightly under cops in skill and accuracy. 
-Added swat to 3 star, FIB to 4 and made extensive tweaks to general spawning. 
-Grunts/Private military are now slightly less skilled than the Army. 
-Reduced the distance stealth crimes can be heard 
-Reduced the distance punching someone can be heard 
-Integrated Better Wanted Level System Police Spawning 2.20 as a base and tweaked it extensively. branching off and won't be updated from now on to his versions. 
-Slightly increased wanted level radius at all stars 
-Tweaked hidden evasion times 
-Increased delay between crimes and cops being alerted. 
-Reduced distance peds can hear suppressed gun crime 
-Integrated v2.0 of Better Police Weapon Loadouts by Yard1. Tweaked the combat MG for soldiers. 
-Changed ammo of Soliders combat MG to 1000 and turned off infinite ammo for just that gun. 
-Added FIB roadblocks to 4 stars 
-Four stars tweaked, now mostly FIB with occasional cops. 
-Tweaked how many cops you can kill per wanted level star. 
-Extensive tweaks to the level of cops at each wanted level. 
-Other stuff I forgot. 

v1.3.1 
-Reduced time it takes to get to four stars slightly 
-Fixed army truck road blocks not spawning 
-Tweaked swat amount at 3 stars 
-Tweaked police amount at 3 stars 
-Fixed getting stars when no one had seen the crime 

v1.3.5
-Removed police bikes in country due to bugs.
-Increased chance of Army Barracks road blocks.
-Tweaked boat spawn amount.
-Tweaked hidden evasion times.
-Tweaked wanted radius 
-Fixed peds not seeing silencer kills in close range.
-Improved crime reporting. Only crimes that alert cops without phone call are explosions and destroying aircraft.
-Added realistic police patrols on the street. More cops around stations, poor neighbourhoods and gang activity. Less in rich areas. Made with max density and variety. 
-Added No Army version. Has the progression POLICE - POLICE - POLICE - SWAT - FIB
-Very slightly reduced Army accuracy. 

---FUTURE PLANS--- 
Further balancing and tweaks if needed. 

---RECOMMENDED MODS--- 

Tank and Lazer Spawning: https://www.gta5-mods.com/scripts/tanks-spawn-at-five-stars (Don't use his dispatch file) 

No Police Blips: https://www.gta5-mods.com/scripts/i-m-not-psychic-aka-no-police-blips 

Open Interiors. Good places to hold up https://www.gta5-mods.com/scripts/open-all-interiors 

---CREDITS--- 
Better Police Weapon Loadouts by Yard1 
Original dispatch file from Better Wanted Level System Police Spawning by Yard1. 
Army spawning at 5 stars originally by PlasticTangerine in v1.2 
Tweaks, balances, crime, witness stuff and the rest by BobJaneTMart 

---PERMISSIONS--- 
You may do what you want, however. Do not reupload or mirror this file without making edits and changes. Also ensure you credit all who contributed to this mod.